package com.etc.library;

import com.etc.library.util.JWTUtil;

public class Test1 {
    public static void main(String[] args) {
        System.out.println("hello");

        /*String s = JWTUtil.generateToken("1");
        System.out.println(s);*/

        String token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiIxIiwiZXhwIjoxNzIzODc0NTM4fQ.GZSpfYCXUid7YdDYObm7xTcwsWy_5xfMSohP5ZgIBeI";


        boolean b = JWTUtil.checkToken(token);
        System.out.println(b);

        System.out.println(JWTUtil.parseToken(token));
    }
}
